|   File        : !Run
|   Date        : 12-Jun-99
|   Author      :  A.Thoukydides, 1998, 1999
|   Description : Script to load and configure PsiFS.

| Set a system variable to point to the current directory
Set PsiFS$Dir <Obey$Dir>

| Load the application sprites
IconSprites <PsiFS$Dir>.!Sprites

| Check that it is a sufficiently recent version of the operating system
RMEnsure UtilityModule 3.10 Error 0 PsiFS requires RISC OS 3.10 or later.

| Special case if running from a command line
If "<Wimp$State>" <> "desktop" Then Run <PsiFS$Dir>.Resources.Command
If "<Wimp$State>" <> "desktop" Then Obey

| Ensure that there is likely to be sufficient memory for both programs
WimpSlot -min 140K -max 140K

| Start the next part of the program loading once the banner has initialised
Filer_Run <PsiFS$Dir>.Resources.Desktop

| Ensure that there is sufficient memory for the banner program
WimpSlot -min 24K -max 24K

| Run the banner program, leaving window open for 5 seconds
Run <PsiFS$Dir>.Resources.Banner 500 -sprites <PsiFS$Dir>.Resources.Logo
